'use strict';

/* Controllers */

app
// Flot Chart controller
    .controller('MatrixMainCtrl', ['$scope','$rootScope', function ($scope,$rootScope) {
    	$rootScope.clean($scope.app)
        $rootScope.initBreadcrumb($scope.breadcrumb);
    	$scope.app.page = {};
    	$scope.app.page.name = "首页";
        $scope.goTo = function (url) {
            console.log("MatrixMainCtrl:" + url);
            window.location.href = url;
        }
    }]);